html,
body {
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
  line-height:1.5;
  color: #303133;
}
ul, p, h1, h2, h3, h4, h5{
  margin: 0;
  padding: 0;
}
ul > li {
  list-style: none;
}
div,
ul,
ul > li{
  box-sizing: border-box;
}

/* 文字左对齐 */
.m-text-left {
  text-align: left;
}

/* 文字居中对齐 */
.m-text-center {
  text-align: center;
}

/* 文字右对齐 */
.m-text-right {
  text-align: right;
}
/* flex 布局 start */
.m-flex {
  display: flex;
  flex-direction: row;
}
/* column */
.m-flex-col {
  flex-direction: column;
}
/* 换行 */
.m-flex-wrap {
  flex-wrap: wrap;
}

/* 不换行 */
.m-flex-nowrap {
  flex-wrap: nowrap;
}

/* 垂直居中 */
.m-col-center {
  align-items: center;
}

/* 顶部对齐 */
.m-col-top {
  align-items: flex-start;
}

/* 底部对齐 */
.m-col-bottom {
  align-items: flex-end;
}

/* 左边对齐 */
.m-row-left {
  justify-content: flex-start;
}

/* 水平居中 */
.m-row-center {
  justify-content: center;
}

/* 右边对齐 */
.m-row-right {
  justify-content: flex-end;
}

/* 水平两端对齐，项目之间的间隔都相等 */
.m-row-between {
  justify-content: space-between;
}

/* 水平每个项目两侧的间隔相等，所以项目之间的间隔比项目与父元素两边的间隔大一倍 */
.m-row-around {
  justify-content: space-around;
}

.m-flex-1 {
  flex: 1;
  overflow: hidden;
}
/* flex 布局 end*/

/* start--文本行数限制--start */
.m-line-1 {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin: 0;
}

.m-line-2 {
  -webkit-line-clamp: 2;
}

.m-line-3 {
  -webkit-line-clamp: 3;
}

.m-line-4 {
  -webkit-line-clamp: 4;
}

.m-line-5 {
  -webkit-line-clamp: 5;
}

.m-line-2,
.m-line-3,
.m-line-4,
.m-line-5 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  white-space: normal;
  margin: 0;
}
/* end--文本行数限制--end */
